package com.mmy.fta.trade.server.dao.impl;

import com.mmy.fta.trade.server.dao.OrderPayFlowDao;
import com.mmy.fta.trade.server.entity.OrderPayFlowEntity;
import com.mmy.fta.trade.server.repository.OrderPayFlowEntityMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author qiang.lin
 * @since 2021/10/30
 */
@Service
public class OrderPayFlowDaoImpl implements OrderPayFlowDao {
    @Autowired
    OrderPayFlowEntityMapper orderPayFlowEntityMapper;

    @Override
    public int insertSelective(OrderPayFlowEntity entity) {
        return orderPayFlowEntityMapper.insertSelective(entity);
    }

    @Override
    public int insert(OrderPayFlowEntity entity) {
        return orderPayFlowEntityMapper.insert(entity);
    }
}
